package org.ucas.faker.web.utils.fishbone;

public class Circle {

    private double x;
    private double y;
    private double radius;

    public Circle(){
        this.x = 0.0;
        this.y = 0.0;
        this.radius = 1.0;
    }

    public double getX() {
        return x;
    }

    public Circle setX(double x) {
        this.x = x;
        return this;
    }

    public double getY() {
        return y;
    }

    public Circle setY(double y) {
        this.y = y;
        return this;
    }

    public double getRadius() {
        return radius;
    }

    public Circle setRadius(double radius) {
        this.radius = radius;
        return this;
    }

    public Circle setCenter(double[] p){
        this.x = p[0];
        this.y = p[1];
        return this;
    }




}
